﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Test01
    {
        static void Main(string[] args)
        {
            void Method(ref int myRefInt)
            {
                myRefInt += 10;
            }

            int number = 1;

            Method(ref number);

            Console.WriteLine(number);
        }
    }
}

